{"ast":null,"code":"import { TinyColor } from '@ctrl/tinycolor';\nimport { genModalMaskStyle } from '../../modal/style';\nimport { initZoomMotion, initFadeMotion } from '../../style/motion';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { resetComponent, textEllipsis } from '../../style';\nexport const genBoxStyle = position => ({\n  position: position || 'absolute',\n  inset: 0\n});\nexport const genImageMaskStyle = token => {\n  const {\n    iconCls,\n    motionDurationSlow,\n    paddingXXS,\n    marginXXS,\n    prefixCls\n  } = token;\n  return {\n    position: 'absolute',\n    inset: 0,\n    display: 'flex',\n    alignItems: 'center',\n    justifyContent: 'center',\n    color: '#fff',\n    background: new TinyColor('#000').setAlpha(0.5).toRgbString(),\n    cursor: 'pointer',\n    opacity: 0,\n    transition: `opacity ${motionDurationSlow}`,\n    [`.${prefixCls}-mask-info`]: Object.assign(Object.assign({}, textEllipsis), {\n      padding: `0 ${paddingXXS}px`,\n      [iconCls]: {\n        marginInlineEnd: marginXXS\n      }\n    })\n  };\n};\nexport const genPreviewOperationsStyle = token => {\n  const {\n    previewCls,\n    modalMaskBg,\n    paddingSM,\n    imagePreviewOperationDisabledColor,\n    motionDurationSlow\n  } = token;\n  const operationBg = new TinyColor(modalMaskBg).setAlpha(0.1);\n  const operationBgHover = operationBg.clone().setAlpha(0.2);\n  return {\n    [`${previewCls}-operations`]: Object.assign(Object.assign({}, resetComponent(token)), {\n      display: 'flex',\n      flexDirection: 'row-reverse',\n      alignItems: 'center',\n      color: token.imagePreviewOperationColor,\n      listStyle: 'none',\n      background: operationBg.toRgbString(),\n      pointerEvents: 'auto',\n      '&-operation': {\n        marginInlineStart: paddingSM,\n        padding: paddingSM,\n        cursor: 'pointer',\n        transition: `all ${motionDurationSlow}`,\n        '&:hover': {\n          background: operationBgHover.toRgbString()\n        },\n        '&-disabled': {\n          color: imagePreviewOperationDisabledColor,\n          pointerEvents: 'none'\n        },\n        '&:last-of-type': {\n          marginInlineStart: 0\n        }\n      },\n      '&-progress': {\n        position: 'absolute',\n        left: {\n          _skip_check_: true,\n          value: '50%'\n        },\n        transform: 'translateX(-50%)'\n      },\n      '&-icon': {\n        fontSize: token.imagePreviewOperationSize\n      }\n    })\n  };\n};\nexport const genPreviewSwitchStyle = token => {\n  const {\n    modalMaskBg,\n    iconCls,\n    imagePreviewOperationDisabledColor,\n    previewCls,\n    zIndexPopup,\n    motionDurationSlow\n  } = token;\n  const operationBg = new TinyColor(modalMaskBg).setAlpha(0.1);\n  const operationBgHover = operationBg.clone().setAlpha(0.2);\n  return {\n    [`${previewCls}-switch-left, ${previewCls}-switch-right`]: {\n      position: 'fixed',\n      insetBlockStart: '50%',\n      zIndex: zIndexPopup + 1,\n      display: 'flex',\n      alignItems: 'center',\n      justifyContent: 'center',\n      width: token.imagePreviewSwitchSize,\n      height: token.imagePreviewSwitchSize,\n      marginTop: -token.imagePreviewSwitchSize / 2,\n      color: token.imagePreviewOperationColor,\n      background: operationBg.toRgbString(),\n      borderRadius: '50%',\n      transform: `translateY(-50%)`,\n      cursor: 'pointer',\n      transition: `all ${motionDurationSlow}`,\n      pointerEvents: 'auto',\n      '&:hover': {\n        background: operationBgHover.toRgbString()\n      },\n      [`&-disabled`]: {\n        '&, &:hover': {\n          color: imagePreviewOperationDisabledColor,\n          background: 'transparent',\n          cursor: 'not-allowed',\n          [`> ${iconCls}`]: {\n            cursor: 'not-allowed'\n          }\n        }\n      },\n      [`> ${iconCls}`]: {\n        fontSize: token.imagePreviewOperationSize\n      }\n    },\n    [`${previewCls}-switch-left`]: {\n      insetInlineStart: token.marginSM\n    },\n    [`${previewCls}-switch-right`]: {\n      insetInlineEnd: token.marginSM\n    }\n  };\n};\nexport const genImagePreviewStyle = token => {\n  const {\n    motionEaseOut,\n    previewCls,\n    motionDurationSlow,\n    componentCls\n  } = token;\n  return [{\n    [`${componentCls}-preview-root`]: {\n      [previewCls]: {\n        height: '100%',\n        textAlign: 'center',\n        pointerEvents: 'none'\n      },\n      [`${previewCls}-body`]: Object.assign(Object.assign({}, genBoxStyle()), {\n        overflow: 'hidden'\n      }),\n      [`${previewCls}-img`]: {\n        maxWidth: '100%',\n        maxHeight: '100%',\n        verticalAlign: 'middle',\n        transform: 'scale3d(1, 1, 1)',\n        cursor: 'grab',\n        transition: `transform ${motionDurationSlow} ${motionEaseOut} 0s`,\n        userSelect: 'none',\n        pointerEvents: 'auto',\n        '&-wrapper': Object.assign(Object.assign({}, genBoxStyle()), {\n          transition: `transform ${motionDurationSlow} ${motionEaseOut} 0s`,\n          // https://github.com/ant-design/ant-design/issues/39913\n          // TailwindCSS will reset img default style.\n          // Let's set back.\n          display: 'flex',\n          justifyContent: 'center',\n          alignItems: 'center',\n          '&::before': {\n            display: 'inline-block',\n            width: 1,\n            height: '50%',\n            marginInlineEnd: -1,\n            content: '\"\"'\n          }\n        })\n      },\n      [`${previewCls}-moving`]: {\n        [`${previewCls}-preview-img`]: {\n          cursor: 'grabbing',\n          '&-wrapper': {\n            transitionDuration: '0s'\n          }\n        }\n      }\n    }\n  },\n  // Override\n  {\n    [`${componentCls}-preview-root`]: {\n      [`${previewCls}-wrap`]: {\n        zIndex: token.zIndexPopup\n      }\n    }\n  },\n  // Preview operations & switch\n  {\n    [`${componentCls}-preview-operations-wrapper`]: {\n      position: 'fixed',\n      insetBlockStart: 0,\n      insetInlineEnd: 0,\n      zIndex: token.zIndexPopup + 1,\n      width: '100%'\n    },\n    '&': [genPreviewOperationsStyle(token), genPreviewSwitchStyle(token)]\n  }];\n};\nconst genImageStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    // ============================== image ==============================\n    [componentCls]: {\n      position: 'relative',\n      display: 'inline-block',\n      [`${componentCls}-img`]: {\n        width: '100%',\n        height: 'auto',\n        verticalAlign: 'middle'\n      },\n      [`${componentCls}-img-placeholder`]: {\n        backgroundColor: token.colorBgContainerDisabled,\n        backgroundImage: \"url('')\",\n        backgroundRepeat: 'no-repeat',\n        backgroundPosition: 'center center',\n        backgroundSize: '30%'\n      },\n      [`${componentCls}-mask`]: Object.assign({}, genImageMaskStyle(token)),\n      [`${componentCls}-mask:hover`]: {\n        opacity: 1\n      },\n      [`${componentCls}-placeholder`]: Object.assign({}, genBoxStyle())\n    }\n  };\n};\nconst genPreviewMotion = token => {\n  const {\n    previewCls\n  } = token;\n  return {\n    [`${previewCls}-root`]: initZoomMotion(token, 'zoom'),\n    [`&`]: initFadeMotion(token, true)\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Image', token => {\n  const imagePreviewOperationColor = new TinyColor(token.colorTextLightSolid);\n  const previewCls = `${token.componentCls}-preview`;\n  const imageToken = mergeToken(token, {\n    previewCls,\n    imagePreviewOperationColor: imagePreviewOperationColor.toRgbString(),\n    imagePreviewOperationDisabledColor: new TinyColor(imagePreviewOperationColor).setAlpha(0.25).toRgbString(),\n    modalMaskBg: new TinyColor('#000').setAlpha(0.45).toRgbString(),\n    imagePreviewOperationSize: token.fontSizeIcon * 1.5,\n    imagePreviewSwitchSize: token.controlHeightLG\n  });\n  return [genImageStyle(imageToken), genImagePreviewStyle(imageToken), genModalMaskStyle(mergeToken(imageToken, {\n    componentCls: previewCls\n  })), genPreviewMotion(imageToken)];\n}, token => ({\n  zIndexPopup: token.zIndexPopupBase + 80\n}));","map":{"version":3,"names":["TinyColor","genModalMaskStyle","initZoomMotion","initFadeMotion","genComponentStyleHook","mergeToken","resetComponent","textEllipsis","genBoxStyle","position","inset","genImageMaskStyle","token","iconCls","motionDurationSlow","paddingXXS","marginXXS","prefixCls","display","alignItems","justifyContent","color","background","setAlpha","toRgbString","cursor","opacity","transition","Object","assign","padding","marginInlineEnd","genPreviewOperationsStyle","previewCls","modalMaskBg","paddingSM","imagePreviewOperationDisabledColor","operationBg","operationBgHover","clone","flexDirection","imagePreviewOperationColor","listStyle","pointerEvents","marginInlineStart","left","_skip_check_","value","transform","fontSize","imagePreviewOperationSize","genPreviewSwitchStyle","zIndexPopup","insetBlockStart","zIndex","width","imagePreviewSwitchSize","height","marginTop","borderRadius","insetInlineStart","marginSM","insetInlineEnd","genImagePreviewStyle","motionEaseOut","componentCls","textAlign","overflow","maxWidth","maxHeight","verticalAlign","userSelect","content","transitionDuration","genImageStyle","backgroundColor","colorBgContainerDisabled","backgroundImage","backgroundRepeat","backgroundPosition","backgroundSize","genPreviewMotion","colorTextLightSolid","imageToken","fontSizeIcon","controlHeightLG","zIndexPopupBase"],"sources":["/data/messenger.client/node_modules/antd/es/image/style/index.js"],"sourcesContent":["import { TinyColor } from '@ctrl/tinycolor';\nimport { genModalMaskStyle } from '../../modal/style';\nimport { initZoomMotion, initFadeMotion } from '../../style/motion';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { resetComponent, textEllipsis } from '../../style';\nexport const genBoxStyle = position => ({\n  position: position || 'absolute',\n  inset: 0\n});\nexport const genImageMaskStyle = token => {\n  const {\n    iconCls,\n    motionDurationSlow,\n    paddingXXS,\n    marginXXS,\n    prefixCls\n  } = token;\n  return {\n    position: 'absolute',\n    inset: 0,\n    display: 'flex',\n    alignItems: 'center',\n    justifyContent: 'center',\n    color: '#fff',\n    background: new TinyColor('#000').setAlpha(0.5).toRgbString(),\n    cursor: 'pointer',\n    opacity: 0,\n    transition: `opacity ${motionDurationSlow}`,\n    [`.${prefixCls}-mask-info`]: Object.assign(Object.assign({}, textEllipsis), {\n      padding: `0 ${paddingXXS}px`,\n      [iconCls]: {\n        marginInlineEnd: marginXXS\n      }\n    })\n  };\n};\nexport const genPreviewOperationsStyle = token => {\n  const {\n    previewCls,\n    modalMaskBg,\n    paddingSM,\n    imagePreviewOperationDisabledColor,\n    motionDurationSlow\n  } = token;\n  const operationBg = new TinyColor(modalMaskBg).setAlpha(0.1);\n  const operationBgHover = operationBg.clone().setAlpha(0.2);\n  return {\n    [`${previewCls}-operations`]: Object.assign(Object.assign({}, resetComponent(token)), {\n      display: 'flex',\n      flexDirection: 'row-reverse',\n      alignItems: 'center',\n      color: token.imagePreviewOperationColor,\n      listStyle: 'none',\n      background: operationBg.toRgbString(),\n      pointerEvents: 'auto',\n      '&-operation': {\n        marginInlineStart: paddingSM,\n        padding: paddingSM,\n        cursor: 'pointer',\n        transition: `all ${motionDurationSlow}`,\n        '&:hover': {\n          background: operationBgHover.toRgbString()\n        },\n        '&-disabled': {\n          color: imagePreviewOperationDisabledColor,\n          pointerEvents: 'none'\n        },\n        '&:last-of-type': {\n          marginInlineStart: 0\n        }\n      },\n      '&-progress': {\n        position: 'absolute',\n        left: {\n          _skip_check_: true,\n          value: '50%'\n        },\n        transform: 'translateX(-50%)'\n      },\n      '&-icon': {\n        fontSize: token.imagePreviewOperationSize\n      }\n    })\n  };\n};\nexport const genPreviewSwitchStyle = token => {\n  const {\n    modalMaskBg,\n    iconCls,\n    imagePreviewOperationDisabledColor,\n    previewCls,\n    zIndexPopup,\n    motionDurationSlow\n  } = token;\n  const operationBg = new TinyColor(modalMaskBg).setAlpha(0.1);\n  const operationBgHover = operationBg.clone().setAlpha(0.2);\n  return {\n    [`${previewCls}-switch-left, ${previewCls}-switch-right`]: {\n      position: 'fixed',\n      insetBlockStart: '50%',\n      zIndex: zIndexPopup + 1,\n      display: 'flex',\n      alignItems: 'center',\n      justifyContent: 'center',\n      width: token.imagePreviewSwitchSize,\n      height: token.imagePreviewSwitchSize,\n      marginTop: -token.imagePreviewSwitchSize / 2,\n      color: token.imagePreviewOperationColor,\n      background: operationBg.toRgbString(),\n      borderRadius: '50%',\n      transform: `translateY(-50%)`,\n      cursor: 'pointer',\n      transition: `all ${motionDurationSlow}`,\n      pointerEvents: 'auto',\n      '&:hover': {\n        background: operationBgHover.toRgbString()\n      },\n      [`&-disabled`]: {\n        '&, &:hover': {\n          color: imagePreviewOperationDisabledColor,\n          background: 'transparent',\n          cursor: 'not-allowed',\n          [`> ${iconCls}`]: {\n            cursor: 'not-allowed'\n          }\n        }\n      },\n      [`> ${iconCls}`]: {\n        fontSize: token.imagePreviewOperationSize\n      }\n    },\n    [`${previewCls}-switch-left`]: {\n      insetInlineStart: token.marginSM\n    },\n    [`${previewCls}-switch-right`]: {\n      insetInlineEnd: token.marginSM\n    }\n  };\n};\nexport const genImagePreviewStyle = token => {\n  const {\n    motionEaseOut,\n    previewCls,\n    motionDurationSlow,\n    componentCls\n  } = token;\n  return [{\n    [`${componentCls}-preview-root`]: {\n      [previewCls]: {\n        height: '100%',\n        textAlign: 'center',\n        pointerEvents: 'none'\n      },\n      [`${previewCls}-body`]: Object.assign(Object.assign({}, genBoxStyle()), {\n        overflow: 'hidden'\n      }),\n      [`${previewCls}-img`]: {\n        maxWidth: '100%',\n        maxHeight: '100%',\n        verticalAlign: 'middle',\n        transform: 'scale3d(1, 1, 1)',\n        cursor: 'grab',\n        transition: `transform ${motionDurationSlow} ${motionEaseOut} 0s`,\n        userSelect: 'none',\n        pointerEvents: 'auto',\n        '&-wrapper': Object.assign(Object.assign({}, genBoxStyle()), {\n          transition: `transform ${motionDurationSlow} ${motionEaseOut} 0s`,\n          // https://github.com/ant-design/ant-design/issues/39913\n          // TailwindCSS will reset img default style.\n          // Let's set back.\n          display: 'flex',\n          justifyContent: 'center',\n          alignItems: 'center',\n          '&::before': {\n            display: 'inline-block',\n            width: 1,\n            height: '50%',\n            marginInlineEnd: -1,\n            content: '\"\"'\n          }\n        })\n      },\n      [`${previewCls}-moving`]: {\n        [`${previewCls}-preview-img`]: {\n          cursor: 'grabbing',\n          '&-wrapper': {\n            transitionDuration: '0s'\n          }\n        }\n      }\n    }\n  },\n  // Override\n  {\n    [`${componentCls}-preview-root`]: {\n      [`${previewCls}-wrap`]: {\n        zIndex: token.zIndexPopup\n      }\n    }\n  },\n  // Preview operations & switch\n  {\n    [`${componentCls}-preview-operations-wrapper`]: {\n      position: 'fixed',\n      insetBlockStart: 0,\n      insetInlineEnd: 0,\n      zIndex: token.zIndexPopup + 1,\n      width: '100%'\n    },\n    '&': [genPreviewOperationsStyle(token), genPreviewSwitchStyle(token)]\n  }];\n};\nconst genImageStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    // ============================== image ==============================\n    [componentCls]: {\n      position: 'relative',\n      display: 'inline-block',\n      [`${componentCls}-img`]: {\n        width: '100%',\n        height: 'auto',\n        verticalAlign: 'middle'\n      },\n      [`${componentCls}-img-placeholder`]: {\n        backgroundColor: token.colorBgContainerDisabled,\n        backgroundImage: \"url('')\",\n        backgroundRepeat: 'no-repeat',\n        backgroundPosition: 'center center',\n        backgroundSize: '30%'\n      },\n      [`${componentCls}-mask`]: Object.assign({}, genImageMaskStyle(token)),\n      [`${componentCls}-mask:hover`]: {\n        opacity: 1\n      },\n      [`${componentCls}-placeholder`]: Object.assign({}, genBoxStyle())\n    }\n  };\n};\nconst genPreviewMotion = token => {\n  const {\n    previewCls\n  } = token;\n  return {\n    [`${previewCls}-root`]: initZoomMotion(token, 'zoom'),\n    [`&`]: initFadeMotion(token, true)\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Image', token => {\n  const imagePreviewOperationColor = new TinyColor(token.colorTextLightSolid);\n  const previewCls = `${token.componentCls}-preview`;\n  const imageToken = mergeToken(token, {\n    previewCls,\n    imagePreviewOperationColor: imagePreviewOperationColor.toRgbString(),\n    imagePreviewOperationDisabledColor: new TinyColor(imagePreviewOperationColor).setAlpha(0.25).toRgbString(),\n    modalMaskBg: new TinyColor('#000').setAlpha(0.45).toRgbString(),\n    imagePreviewOperationSize: token.fontSizeIcon * 1.5,\n    imagePreviewSwitchSize: token.controlHeightLG\n  });\n  return [genImageStyle(imageToken), genImagePreviewStyle(imageToken), genModalMaskStyle(mergeToken(imageToken, {\n    componentCls: previewCls\n  })), genPreviewMotion(imageToken)];\n}, token => ({\n  zIndexPopup: token.zIndexPopupBase + 80\n}));"],"mappings":"AAAA,SAASA,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,iBAAiB,QAAQ,mBAAmB;AACrD,SAASC,cAAc,EAAEC,cAAc,QAAQ,oBAAoB;AACnE,SAASC,qBAAqB,EAAEC,UAAU,QAAQ,sBAAsB;AACxE,SAASC,cAAc,EAAE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